/**
 * 
 */
package ru.cargobroker.workbench.domain;

import ru.cargobroker.workbench.domain.PerspectiveInfo;



/**
 * @author M.Frendiy
 * @since 0.1
 */
public class PerspectiveInfoImpl implements PerspectiveInfo {
	private String id;
	private String name;
	private String description;
	private Object icon;
	
	public PerspectiveInfoImpl(String id, String name, String description, Object icon) {
		super();
		this.name = name;
		this.description = description;
		this.icon = icon;
	}

	/* (non-Javadoc)
	 * @see ru.cargobroker.web.ui.workbench.domain.PerspectiveInfo#getName()
	 */
	@Override
	public String getName() {
		return name;
	}

	/* (non-Javadoc)
	 * @see ru.cargobroker.web.ui.workbench.domain.PerspectiveInfo#getDescription()
	 */
	@Override
	public String getDescription() {
		return description;
	}

	/* (non-Javadoc)
	 * @see ru.cargobroker.web.ui.workbench.domain.PerspectiveInfo#getIcon()
	 */
	@Override
	public Object getIcon() {
		return icon;
	}

	@Override
	public String getId() {
		return id;
	}

}
